#ifndef HUMANS_H
#define HUMANS_H

#include <QWidget>
#include <QList>
#include "Common/BaseButton.h"
#include "Man.h"
#include "Emotion.h"

class Humans : public QWidget
{
	Q_OBJECT

	QList<Emotion*> _emotions;
	QList<Man*> _men;
	BaseButton* btnAddMan;
	BaseButton* btnRemoveMan;
	BaseButton* btnExit;

public:
	explicit Humans(QWidget *parent = 0);
	~Humans();

protected:
	void paintEvent(QPaintEvent *event);
	void resizeEvent(QResizeEvent* event);

private slots:
	void onEmotionDown();
	void onEmotionUp();
	void onEmotionMove();
	void onAddMan();
	void onRemoveMan();
};

#endif // HUMANS_H
